<?php
/**
 * shop(tm) : Rapid Development shop
 * Copyright gwchina-common-team
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 * shop - Plantform.php - PhpStorm
 *
 * @package    1.0@teba
 * @author     jianchun.yang
 * @copyright  (c) 2017-2020 Kohana Team
 * @license    gwchina
 * @date       2017/1/3
 */

namespace App\Http\Routes;
use Illuminate\Support\Facades\Route;
class Plantform
{
    function __construct()
    {

    }

    public function loadRoute() {
        Route::group(['middleware' => 'auth','namespace'=>'Plantform','as'=>'Plantform_'], function () {

            //应用
            Route::group(['namespace' => 'Application','as'=>'Application_'], function(){

            });

            //会员
            Route::group(['namespace' => 'Member','as'=>'Member_'], function(){
                Route::get('member.html', ['as'=>'love_you','uses'=>'AccountController@index']);
            });

            //设置
            Route::group(['namespace' => 'Setting','as'=>'Setting_'], function(){
                Route::get('Plantform_Setting_Website', ['as'=>'Website','uses'=>'WebsiteController@Website']);
                Route::get('Plantform_Setting_Upload', ['as'=>'Upload','uses'=>'UploadController@Upload']);
                Route::get('Plantform_Setting_Email', ['as'=>'Email','uses'=>'EmailController@Email']);
                Route::get('Plantform_Setting_Taobao', ['as'=>'Taobao','uses'=>'TaobaoController@TaobaoInterface']);
                Route::get('Plantform_Setting_Authority', ['as'=>'Authority','uses'=>'AuthorityController@Authority']);
                Route::get('Plantform_Setting_Log', ['as'=>'Log','uses'=>'LogController@Log']);
                Route::get('Plantform_Setting_Area', ['as'=>'Area','uses'=>'AreaController@Area']);
                Route::get('Plantform_Setting_Cache', ['as'=>'Cache','uses'=>'CacheController@Cache']);
            });

            //网址
            Route::group(['namespace' => 'Website','as'=>'Website_'], function(){

            });
        });
    }
}
